{template aljbd:vheader}
{if $c}
<div class="panel-comm panel-white">
	<div class="list-group list-group-insertmod item-subject-list" id="data_container" >
		<div class="panel-heading">
			<h4>&#28909;&#38376;&#20248;&#24800;&#21048;</h4>
		</div>

	<div  style="display: block; overflow: hidden;border-top: 1px solid #eee!important" id="xx_14">
	 {loop $c $g}
	<a href="{if $config['isrewrite']}brand_consume_{$g['bid']}_{$g['id']}.html{else}plugin.php?id=aljbd&act=consumeview&bid={$g['bid']}&cid={$g['id']}{/if}" class="list-group-item" data-name="newload">
		<div class="fr">
					<span class="arrow"></span>
		</div>

		<div class="richtxt-comm richtxt-img-defaultsize">
			<div class="fl">
				<img style="width:80px;height:80px;" {if $settings['is_lazyload']['value']}src="$loading" data-original="{$g['pic']}"{else}src="{$g['pic']}"{/if} alt="$g['subject']" class="richtxt-img">
			</div>
			<div class="richtxt-body">
				<h4>{eval echo cutstr($g['subject'],'20')}</h4>
				<p class="txt-comm txt-small">
					{eval echo cutstr(strip_tags(preg_replace('/\<img.*?\>/is', '', $g['jieshao'])),20);}<br>
					<span class="split"></span>
					{lang aljbd:consume_6}&nbsp;&nbsp;{if $c['end']}<!--{eval echo date('Y-m-d',$c['start']);}-->&nbsp;{lang aljbd:consume_7}&nbsp;<!--{eval echo date('Y-m-d',$c['end']);}-->{else}{lang aljbd:consume_8}{/if}</p>
			</div>
		</div>
	</a>
	{/loop}

	{if $paging}
	<div data-name="pagination" class="pagination page-mode-default">$paging</div>
	
	{/if}</div></div></div>{else}<div class="c_click_see" id="more" style="background: none;float: left;">$aljbdlang['template']['No_coupons_issued']</div>{/if}

<link rel="stylesheet" href="source/plugin/aljbd/css/sj/plugin.css" />
<script src="source/plugin/aljbd/js/sj/jquery.plugin.js"></script>
<script src="source/plugin/aljbd/js/sj/swipe.js"></script>
<script>
jq(document).ready(function() {

    Swipe(document.getElementById('slider'), {
        auto: 5000,
        continuous: true
    });
});
</script>
{template aljbd:footer}